package br.ita.magiu.dummy;

import java.util.ArrayList;
import java.util.Calendar;
import java.util.GregorianCalendar;
import java.util.List;

import br.ita.magiu.metadata.annotation.DisplayName;
import br.ita.magiu.metadata.annotation.TemplateName;

public class DummyStudent {

	private String name;
	@TemplateName("Code")
	private int registrationNumber;
	private float averageGrade;
	private boolean scholar;
	private Calendar birthDate;
	private DummyAddress address = new DummyAddress();
	@DisplayName("Phone List")
	private List<String> phones;
	
	public void setValues() {
		name = "nando";
		registrationNumber = 123;
		averageGrade = 5.333f;
		scholar = false;
		birthDate = new GregorianCalendar(1111, 11, 22);
		address.setValues();
		phones = new ArrayList<String>();
		phones.add("(11)1111-1111");
		phones.add("(11)1111-1112");
	}

	public String getName() {
		return name;
	}

	public int getRegistrationNumber() {
		return registrationNumber;
	}

	public float getAverageGrade() {
		return averageGrade;
	}

	public boolean isScholar() {
		return scholar;
	}

	public Calendar getBirthDate() {
		return birthDate;
	}

	public DummyAddress getAddress() {
		return address;
	}

	public List<String> getPhones() {
		return phones;
	}

	public void setAddress(DummyAddress address) {
		this.address = address;
	}
	
	
}
